#!/usr/bin/env bash

# Create cookie file then launch Logitech Unifying Software

if [ -e '/Applications/Utilities/Logitech Unifying Software.app' ]; then
	/usr/bin/touch '/Applications/Utilities/Logitech Unifying Software.app/Contents/Resources/com.Logitech.Unifying.standalone'
	/usr/bin/sudo -u $USER /usr/bin/open '/Applications/Utilities/Logitech Unifying Software.app'
fi

exit 0
